#pragma strict

function Start () {
	
}

function Update () {

}

function OnGUI() {
	var screen_pos:Vector3;
	screen_pos = Camera.mainCamera.WorldToScreenPoint(transform.position - Vector3(renderer.bounds.size.x / 2, - (renderer.bounds.size.y / 2), 0));
	GUI.color = Color.white;
	GUI.Label(Rect(screen_pos.x, Screen.height - screen_pos.y, transform.localScale.x, transform.localScale.y), "" + parseInt(SceneManager.Instance().GetCurrentLevel() + 1));
}